package com.inforich.app.api.dto;

import com.inforich.common.mybatis.Location;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: some desc
 * @author: HJM
 * @date: 2022/11/1
 */
@Data
@EqualsAndHashCode()
public class TransportDTO {

  @NotBlank(message = "预约单ID不能为空")
  private String bookingId;
  /**
   * 开始位置
   */
  @NotNull(message = "预约单ID不能为空")
  private Location location;
  @NotBlank(message = "地址不能为空")
  private String address;
  @NotBlank(message = "打卡图片不能为空")
  private String image;
}
